{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Add document to session{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        Add document to session
        <br>
        <small class="text-body-secondary">{{ doc.name }}
            <br>
        {{ doc.title }}</small>
    </h1>
    <form method="post">
        {% csrf_token %}
        {% bootstrap_form session_form %}
        {% bootstrap_form version_form %}
        {% bootstrap_button button_type="submit" name="save" content="Save" %}
        <a class="btn btn-secondary float-end"
           href="{% url 'ietf.doc.views_doc.all_presentations' name=doc.name %}">Back</a>
    </form>
{% endblock %}